
<!--<%@ Page Language="c#" AutoEventWireup="true" CodeFile="article_Print.aspx.cs" Inherits="Carticle_Print" %>-->
<html>
<head>
<title>Article</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{BEGIN page}
{$header}

<h1>Article</h1>
{BEGIN page_number}
<div id='selpage'>Page {$pageno} of {$maxpages} </div>
{END page_number}

{BEGIN grid_block}

<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
{BEGIN ArtID_fieldheadercolumn}
	<td>
{BEGIN ArtID_fieldheader}
	<b>Art ID</b>
{END ArtID_fieldheader}
	</td>
{END ArtID_fieldheadercolumn}
{BEGIN ArtCateID_fieldheadercolumn}
	<td>
{BEGIN ArtCateID_fieldheader}
	<b>Art Cate ID</b>
{END ArtCateID_fieldheader}
	</td>
{END ArtCateID_fieldheadercolumn}
{BEGIN Title_fieldheadercolumn}
	<td>
{BEGIN Title_fieldheader}
	<b>Title</b>
{END Title_fieldheader}
	</td>
{END Title_fieldheadercolumn}
{BEGIN ShortDescript_fieldheadercolumn}
	<td>
{BEGIN ShortDescript_fieldheader}
	<b>Short Descript</b>
{END ShortDescript_fieldheader}
	</td>
{END ShortDescript_fieldheadercolumn}
{BEGIN Content_fieldheadercolumn}
	<td>
{BEGIN Content_fieldheader}
	<b>Content</b>
{END Content_fieldheader}
	</td>
{END Content_fieldheadercolumn}
{BEGIN Active_fieldheadercolumn}
	<td>
{BEGIN Active_fieldheader}
	<b>Active</b>
{END Active_fieldheader}
	</td>
{END Active_fieldheadercolumn}
{BEGIN Status_fieldheadercolumn}
	<td>
{BEGIN Status_fieldheader}
	<b>Status</b>
{END Status_fieldheader}
	</td>
{END Status_fieldheadercolumn}
{BEGIN VipLevel_fieldheadercolumn}
	<td>
{BEGIN VipLevel_fieldheader}
	<b>Vip Level</b>
{END VipLevel_fieldheader}
	</td>
{END VipLevel_fieldheadercolumn}
{BEGIN Viewed_fieldheadercolumn}
	<td>
{BEGIN Viewed_fieldheader}
	<b>Viewed</b>
{END Viewed_fieldheader}
	</td>
{END Viewed_fieldheadercolumn}
{BEGIN Image_fieldheadercolumn}
	<td>
{BEGIN Image_fieldheader}
	<b>Image</b>
{END Image_fieldheader}
	</td>
{END Image_fieldheadercolumn}
{BEGIN Author_fieldheadercolumn}
	<td>
{BEGIN Author_fieldheader}
	<b>Author</b>
{END Author_fieldheader}
	</td>
{END Author_fieldheadercolumn}
{BEGIN Hot_fieldheadercolumn}
	<td>
{BEGIN Hot_fieldheader}
	<b>Hot</b>
{END Hot_fieldheader}
	</td>
{END Hot_fieldheadercolumn}
{BEGIN CreatedDate_fieldheadercolumn}
	<td>
{BEGIN CreatedDate_fieldheader}
	<b>Created Date</b>
{END CreatedDate_fieldheader}
	</td>
{END CreatedDate_fieldheadercolumn}
{BEGIN UpdatedDate_fieldheadercolumn}
	<td>
{BEGIN UpdatedDate_fieldheader}
	<b>Updated Date</b>
{END UpdatedDate_fieldheader}
	</td>
{END UpdatedDate_fieldheadercolumn}
{BEGIN endrecordheader_block}
	<td class="gridspacing">&nbsp;</td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
{BEGIN ArtID_fieldcolumn}
<td {$ArtID_style}>
{$ArtID_value}
</td>
{END ArtID_fieldcolumn}
{BEGIN ArtCateID_fieldcolumn}
<td {$ArtCateID_style}>
{$ArtCateID_value}
</td>
{END ArtCateID_fieldcolumn}
{BEGIN Title_fieldcolumn}
<td {$Title_style}>
{$Title_value}
</td>
{END Title_fieldcolumn}
{BEGIN ShortDescript_fieldcolumn}
<td {$ShortDescript_style}>
{$ShortDescript_value}
</td>
{END ShortDescript_fieldcolumn}
{BEGIN Content_fieldcolumn}
<td {$Content_style}>
{$Content_value}
</td>
{END Content_fieldcolumn}
{BEGIN Active_fieldcolumn}
<td {$Active_style}>
{$Active_value}
</td>
{END Active_fieldcolumn}
{BEGIN Status_fieldcolumn}
<td {$Status_style}>
{$Status_value}
</td>
{END Status_fieldcolumn}
{BEGIN VipLevel_fieldcolumn}
<td {$VipLevel_style}>
{$VipLevel_value}
</td>
{END VipLevel_fieldcolumn}
{BEGIN Viewed_fieldcolumn}
<td {$Viewed_style}>
{$Viewed_value}
</td>
{END Viewed_fieldcolumn}
{BEGIN Image_fieldcolumn}
<td {$Image_style}>
{$Image_value}
</td>
{END Image_fieldcolumn}
{BEGIN Author_fieldcolumn}
<td {$Author_style}>
{$Author_value}
</td>
{END Author_fieldcolumn}
{BEGIN Hot_fieldcolumn}
<td {$Hot_style}>
{$Hot_value}
</td>
{END Hot_fieldcolumn}
{BEGIN CreatedDate_fieldcolumn}
<td {$CreatedDate_style}>
{$CreatedDate_value}
</td>
{END CreatedDate_fieldcolumn}
{BEGIN UpdatedDate_fieldcolumn}
<td {$UpdatedDate_style}>
{$UpdatedDate_value}
</td>
{END UpdatedDate_fieldcolumn}
{BEGIN endrecord_block}
<td class="gridspacing">&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
<!-- totals row -->
{BEGIN totals_row}
<tr>
{BEGIN ArtID_fieldfootercolumn}
<td>
{BEGIN ArtID_showtotal}
	<b>
					Count:
					{$ArtID_total}
	</b>
{END ArtID_showtotal}
</td>
{END ArtID_fieldfootercolumn}
{BEGIN ArtCateID_fieldfootercolumn}
<td>
{BEGIN ArtCateID_showtotal}
	<b>
					</b>
{END ArtCateID_showtotal}
</td>
{END ArtCateID_fieldfootercolumn}
{BEGIN Title_fieldfootercolumn}
<td>
{BEGIN Title_showtotal}
	<b>
					</b>
{END Title_showtotal}
</td>
{END Title_fieldfootercolumn}
{BEGIN ShortDescript_fieldfootercolumn}
<td>
{BEGIN ShortDescript_showtotal}
	<b>
					</b>
{END ShortDescript_showtotal}
</td>
{END ShortDescript_fieldfootercolumn}
{BEGIN Content_fieldfootercolumn}
<td>
{BEGIN Content_showtotal}
	<b>
					</b>
{END Content_showtotal}
</td>
{END Content_fieldfootercolumn}
{BEGIN Active_fieldfootercolumn}
<td>
{BEGIN Active_showtotal}
	<b>
					</b>
{END Active_showtotal}
</td>
{END Active_fieldfootercolumn}
{BEGIN Status_fieldfootercolumn}
<td>
{BEGIN Status_showtotal}
	<b>
					</b>
{END Status_showtotal}
</td>
{END Status_fieldfootercolumn}
{BEGIN VipLevel_fieldfootercolumn}
<td>
{BEGIN VipLevel_showtotal}
	<b>
					</b>
{END VipLevel_showtotal}
</td>
{END VipLevel_fieldfootercolumn}
{BEGIN Viewed_fieldfootercolumn}
<td>
{BEGIN Viewed_showtotal}
	<b>
					</b>
{END Viewed_showtotal}
</td>
{END Viewed_fieldfootercolumn}
{BEGIN Image_fieldfootercolumn}
<td>
{BEGIN Image_showtotal}
	<b>
					</b>
{END Image_showtotal}
</td>
{END Image_fieldfootercolumn}
{BEGIN Author_fieldfootercolumn}
<td>
{BEGIN Author_showtotal}
	<b>
					</b>
{END Author_showtotal}
</td>
{END Author_fieldfootercolumn}
{BEGIN Hot_fieldfootercolumn}
<td>
{BEGIN Hot_showtotal}
	<b>
					</b>
{END Hot_showtotal}
</td>
{END Hot_fieldfootercolumn}
{BEGIN CreatedDate_fieldfootercolumn}
<td>
{BEGIN CreatedDate_showtotal}
	<b>
					</b>
{END CreatedDate_showtotal}
</td>
{END CreatedDate_fieldfootercolumn}
{BEGIN UpdatedDate_fieldfootercolumn}
<td>
{BEGIN UpdatedDate_showtotal}
	<b>
					</b>
{END UpdatedDate_showtotal}
</td>
{END UpdatedDate_fieldfootercolumn}
</tr>
{END totals_row}
</table>
{END grid_block}
{$footer}
{END page}
{END body}
</body>
</html>
